<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/12/16 0016
 * Time: 15:21
 */

namespace app\admin\model;


use think\Model;

class User extends Model
{
public function getList(){
    return $this->select();
}

public function getUser($no){
    return $this->where(['no'=>$no])->find();
}
public function getCx($username){
    return $this->where(['username'=>$username])->find();
}
}